<template>
  <t-radio-group v-model="radio">
    <t-radio-button label="1">选项1</t-radio-button>
    <t-radio-button disabled label="2">选项2</t-radio-button>
    <t-radio-button label="3">选项3</t-radio-button>
  </t-radio-group>
  <br>
  <t-radio-button v-model="radio" label="1">选项1</t-radio-button>
  <t-radio-button v-model="radio" label="2">选项2</t-radio-button>
  <t-radio-button disabled v-model="radio" label="3">选项3</t-radio-button>
</template>

<script lang="ts">
import {ref} from 'vue'

export default {
  setup() {
    const radio = ref('1')
    return {
      radio
    }
  }
}
</script>
